package com.briup.jd2407cms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.briup.jd2407cms.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.briup.jd2407cms.domain.extend.UserExtend;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
* @author 王杰_
* @description 针对表【cms_user】的数据库操作Service
* @createDate 2024-11-20 09:09:57
*/
public interface UserService extends IService<User> {
    public User login(String username,String password);
    public void add(User user);
    public User queryById(Long userId);
    public IPage<UserExtend> query(Integer pageNum, Integer pageSize, String username,
                                   String status,Integer roleId,Integer isVip);
    void setVip(Long id);
    void deleteByBatch(List<Long> ids);
    List<User> getAllUser();
}
